package creator.abstractfactory.grade.sanguo;

import creator.abstractfactory.FigureAbstractFactory;
import creator.abstractfactory.family.skill.SkillProduct;
import creator.abstractfactory.family.soldier.SoldiersProduct;
import creator.abstractfactory.family.wujiang.WujiangProduct;

/**
 * 三国人物工厂
 * <p>
 * 产品等级 可并且多个
 */
public class SanguoFigureFactory implements FigureAbstractFactory {
    @Override
    public WujiangProduct WujiangAbstractFactory() {
        return new SanGuoWujiangProduct();
    }

    @Override
    public SoldiersProduct SoldiersAbstractFactory() {
        return new SanGuoSoldiersProduct();
    }

    @Override
    public SkillProduct SkillAbstractFactory() {
        return new SanGuoSkillProduct();
    }
}
